package com.geline.easyexcel.domain;

import com.geline.easyexcel.interfaces.ExcelCrudConsumer;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

/**
 * @author: mengxin
 * @date: 2024/1/15 15:56
 */
@Validated
@ConfigurationProperties(prefix = "easy-excel")
@Getter
@Setter
public class EasyExcelProperties {

    //ExcelCrudConsumer实现类
    private Class<ExcelCrudConsumer> excelCrudConsumer;
    // dynamicSql.xml文件地址: excel/*.xml
    private String xmlFile;
    // 导出文件添加默认密码
    private String password;
    //清理过期ExcelFile数据
    private String expireDeleteSql;
    //字典查询SQL
    private String dictSelectSql;

}
